package com.sec.android.app.myfiles.module.feature.lockunlock;

import com.sec.android.app.myfiles.MyFilesTestRunner;
import com.sec.android.app.myfiles.feature.lockunlock.LockUnlockImp;

import junit.framework.Assert;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(MyFilesTestRunner.class)
public class testLockUnlockImp {
    LockUnlockImp mLockImp;

    @Before
    public void setUp() throws Exception {
        mLockImp = new LockUnlockImp();
    }

    @After
    public void tearDown() throws Exception {

    }

    @Test
    public void testToSHA1() {
        //TODO: replace to sample encryption
        Assert.assertNotNull(mLockImp.toSHA1("Test"));
    }

    @Test
    public void testIsEncryptionFile() {
        Assert.assertFalse(mLockImp.isEncryptionFile("test.txt"));
    }
}
